home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / utils / virus / viruskil.arc / VIRUS.INF next >
Text File  |  1985-11-20  |  2KB  |  60 lines

  1.  
  2. A little bit about Boot sectors
  3. -------------------------------
  4.  
  5.     The "first" sector on a disk
  6. ie Side 0, Track 0, Sector 1 is called
  7. the boot sector. In addition to holding
  8. information, pertaining to the format of
  9. the disk, it can also contain an, albeit
  10. short, machine code program. This
  11. feature was really intended to allow
  12. new operating systems to be booted,
  13. automatically, from disk. ie the short
  14. "boot" program would load the operating
  15. system into memory and then execute it
  16. (as happened in early "TOS on disk"
  17. STs). Unfortunately you can put any
  18. program (providing it is small enough)
  19. onto a boot sector and have the ST
  20. execute it on boot up. This includes
  21. Viruses.
  22.  
  23. Viruses
  24. -------
  25.     These are just programs that
  26. are placed on the boot sector of a disk
  27. (by certain unscrupulous persons)
  28. which, upon execution, hide themselves
  29. away in some portion of memory and 
  30. "wedge" themselves into the operating
  31. system.
  32.     Whenever a new disk is placed
  33. into the drive the ST has to read it's
  34. boot sector, so that it "knows" how the
  35. disk is formatted. This is when the
  36. virus multiplies. The virus takes over
  37. this routine, in the operating system,
  38. and in addition to reading in the boot
  39. sector it also writes the boot sector
  40. back to the disk with a copy of the
  41. virus on it. This will happen to all
  42. disks inserted into the ST's drive when
  43. the virus is in memory. And of course
  44. if you boot up with any of these
  45. "infected" disks, the virus will place
  46. itself in memory ready to "infect" more
  47. disks.
  48.     Turning off the power will
  49. clear any virus from memory. But of
  50. course when the ST then re-boots you
  51. must have a non-infected disk in the
  52. drive or else the virus will just
  53. install itself again. Resetting your
  54. ST is not gauranteed to clear viruses.
  55. It is possible for a virus to survive
  56. a reset. However of several ST viruses
  57. I have seen, none of them survive a
  58. reset. A future virus could be written
  59. which does just that!
  60.